<!--
 * @Description: 工单详情
 * @Author: charles
 * @Date: 2021-12-14 22:10:42
 * @LastEditors: charles
 * @LastEditTime: 2021-12-14 22:10:43
-->
<template>
  <div>
    <!-- 返回按钮 -->
    <el-page-header @back="$router.go(-1)" content="工单详情页">
    </el-page-header>
    <el-form :label-position="right" label-width="80px" :model="workObj" style="margin-top: 30px;">
      <el-form-item label="工程名称">
        <el-input v-model="workObj.engineer_name"></el-input>
      </el-form-item>
      <el-form-item label="设备名称">
        <el-input v-model="workObj.device_name"></el-input>
      </el-form-item>
      <el-form-item label="问题描述">
        <el-input v-model="workObj.bill_why"></el-input>
      </el-form-item>
      <el-form-item label="状态">
        <el-input v-model="workObj.status"></el-input>
      </el-form-item><el-form-item label="工单类型">
        <el-input v-model="workObj.type"></el-input>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  data() {
    return {
      workObj: {}
    }
  },
  created() {
    this.workObj = this.$route.query;
  }
}
</script>